﻿namespace Isha.Web.Mvc
{
    public abstract class IshaViewPage : System.Web.Mvc.WebViewPage
    {
        private dynamic _Isha;

        public dynamic IshaModel
        {
            get
            {
                if (_Isha == null)
                {
                    _Isha = IshaContext.Current.Model;
                }
                return _Isha;
            }
        }
    }
}
